Release 10.1A: OpenEdge Getting Started:
New and Revised Features


Buttons with images

In Release 10.0B, OpenEdge’s border drawing behavior for buttons that contain images depends on the type of image button—single-image or dual-image. Dual-image buttons use two images (an “up” image and a separate “down” image). Single-image buttons use one image (an “up” image, which is shifted slightly to mimic a “down” appearance for the button).

OpenEdge Release 10.0B creates Windows classic, 3D-style borders for single-image buttons. It does not create any borders for dual-image buttons. For dual-image buttons, you must add borders to the images themselves if you want borders.

In Release 10.1A, you have more options regarding the border drawing behavior for image buttons. In OpenEdge Release 10.1A, the border drawing behavior for image buttons depends on two factors:

In Release10.1A, the default behavior for drawing borders on image buttons is as follows:

For Release 10.1A, you can specify to change the default border drawing behavior (whereas in Release 10.0B, the default behavior is your only option). To change the default, there is a new progress.ini file and Registry setting (ButtonImageBorderMode=n) that tells OpenEdge what to do with respect to button image borders. The ButtonImageBorderMode setting goes in the [Startup] section of the Registry or progress.ini file. It is a progress.ini file or Registry setting rather than a startup parameter because it is Windows-specific.

For details about this new ButtonImageBorderMode setting and its possible values, see OpenEdge Deployment: Managing 4GL Applications .


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095